Skip to content

bq27441: Add reset() method for hardware reset.#147

Merged
nedseb merged 1 commit intofix/standardize-resetfrom
fix/bq27441-reset
Mar 15, 2026
Merged

bq27441: Add reset() method for hardware reset.#147
nedseb merged 1 commit intofix/standardize-resetfrom
fix/bq27441-reset

Conversation

@nedseb
Copy link
Copy Markdown
Contributor

@nedseb nedseb commented Mar 15, 2026

Closes #145
Sub-PR of #143

Summary

Add reset() method to the BQ27441 driver using BQ27441_CONTROL_RESET (0x0041). This performs a full hardware reset, distinct from the existing soft_reset() (0x0042) which only triggers a resimulation.

Test plan

python3 -m pytest tests/ -k "bq27441 and mock" -v  # 8 passed

1 new mock test:

  • Reset sends CONTROL_RESET command (verifies write of 0x41 to register 0x00)

@nedseb nedseb merged commit 2915830 into fix/standardize-reset Mar 15, 2026
@nedseb nedseb deleted the fix/bq27441-reset branch March 15, 2026 11:00
@nedseb nedseb self-assigned this Mar 15, 2026
@nedseb nedseb added the enhancement New feature or request label Mar 15, 2026
@nedseb nedseb linked an issue Mar 15, 2026 that may be closed by this pull request
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bq27441: Add reset() method for hardware reset.

1 participant